#include<iostream>
#include<cstring>
#include<string.h>
#include<queue>
#include<stack>
#include<utility>
#include<list>
#include<string>
#include<vector>
#include<map>
using namespace std;
inline int read()
{
    int f = 1, res = 0; char ch = getchar();
    while( ch < '0' || ch > '9' )
    {
        if( ch == '-' ) f = -1;
        ch = getchar();
    }
    while( '0' <= ch && ch <= '9' )
    {
        res = ( res << 1 ) + ( res << 3 ) + ( ch - '0' );
        ch = getchar();
    }
    return res * f;
}
inline void write( int x )
{
    if( x < 0 ) putchar( '-' ), x = -x;
    if( x > 9 ) write( x / 10 );
    putchar( x % 10 + '0' );
}
int n, ans = -1, x;
map< int, int > ma;
int main()
{
    freopen( "duel.in", "r", stdin );
    freopen( "duel.out", "w", stdout );
    n = read();
    while( n-- )
    {
        x = read();
        ma[ x ]++;
    }
    for( auto i : ma )
    {
        ans = max( ans, i.second );
    }
    write( ans );
    return 0;
}

